'''
Created on 10/05/2010

@author: Daniel
'''

from Scheduler import Scheduler
import queue

class Priority(Scheduler):
    '''
    classdocs
    '''

    def __init__(self):
        self.readyQueue= queue.PriorityQueue()
        
    
    def getReadyQueue(self):
        return self.readyQueue
    
    def addPCB(self,aPCB): 
        self.readyQueue.put(aPCB)
               
    def nextPCB(self):
        return self.readyQueue.get()
        
    def isQuantum(self):
        return False
    